<%@include file="header.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html:html locale="true">

<head>
<meta http-equiv="Content-Language" content="pt-br">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<link rel="stylesheet" type="text/css" media="screen" href="inner1024.css">
<link href="estilos/principal.css" rel="stylesheet" type="text/css">
<link href="estilos/interno.css" rel="stylesheet" type="text/css">
<link rel="SHORTCUT ICON" href="icons/favicon.ico">

<script type="text/javascript" src="js/forms.js"></script>
<script type="text/javascript" src="js/loadInner.js"></script>
<script type="text/javascript" src="js/define_usuario_menu.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<script type="text/javascript" src="js/dropdown_menu.js"></script>

<title>:: DSC - Portal de Projetos ::</title>
<html:base/>

</head>

<body>

<div align="center" height="100%">
	<table border="0" cellspacing="0" width="100%" height="100%" id="table1" cellpadding="0">
		<tr>
			<td background="imagens/topo_2000.png" colspan="3" height="117" bgcolor="#FFFAEF">
			  <div valign="top" align="right">
				<table border="0" cellspacing="0" id="table3" cellpadding="0" valign="top" align="right" width="18%" height="115">
					<tr>
						<td valign="top" align="right" >
                      <p>
                      <!-- LOGIN -->
                      <logic:present name="logado" scope="session">
                         <%@ include file ="deslogar.jsp" %>
                      </logic:present>

                      <logic:notPresent name="logado" scope="session">
                         <%@ include file ="login.jsp" %>
                      </logic:notPresent>
                      <!-- FIM DO LOGIN -->						   
                      </p>
						</td>
					</tr>
				</table>
			</div>
			</td>
		</tr>
		<tr>
			<td width="18%" bgcolor="#FFF0CD" style="border-right-style: solid; border-right-width: 1px; border-left-width: 1px; border-top-width: 1px; border-bottom-width: 1px" valign="top">
			<div align="center">
				<table border="0" cellspacing="0" width="100%" height="100%" id="table2" cellpadding="0" bgcolor="#FFF0CD">
					<tr>
						<td class="menu" height="100%">
                    
                        <c:choose>
                           <c:when test="${logado == null}">
                              <%@ include file="menu_anonimo.jsp"%>
                           </c:when>
                           <c:when test="${logado != null && logado.permissao == 'Cliente'}">
                              <%@ include file="menu_cliente.jsp"%>
                           </c:when>
                           <c:when test="${logado != null && logado.permissao == 'Supervisor'}">
                              <%@ include file="menu_supervisor.jsp"%>
                           </c:when>
                           <c:when test="${logado != null && logado.permissao == 'Administrador'}">
                              <%@ include file="menu_administrador.jsp"%>  
                           </c:when>
                        </c:choose>                      
                    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
                  </td>
					</tr>					
				</table>
			</div>
             <p>&nbsp;</p> 
             <p>&nbsp;</p>
			    <p>&nbsp;</p>
    		    <p>&nbsp;</p>
	   	    <p>&nbsp;</p>
		       <p>&nbsp;</p>
			    <p>&nbsp;</p>
			    <p>&nbsp;</p>
			    <p>&nbsp;</p>
			    <p>&nbsp;</p>
			    <p>&nbsp;</p>
			    <p>&nbsp;</p>
			    <p>&nbsp;</p>
			    <p>&nbsp;</p>
			</td>
			<td width="70%" valign="top">
             <!-- ESCOLHE QUAL SERAH A PAGINA DO MEIO --> 
		
             <!-- <iframe allowtransparency="yes" name="meioDaPagina" marginwidth="0" marginheight="0" src=" -->
             <div id="inner" style="width='50%'; margin-left:5%"> 


              <c:choose>
                <c:when test="${param.paginaDoMeio != null}">
                    <jsp:include page="${param.paginaDoMeio}" />
                </c:when>
                <c:otherwise>
                    <jsp:include page="meio.jsp"/>
                </c:otherwise>
              </c:choose>

              </div> 
              <!--" 
                  frameborder="0" width="600" height="700" scrolling="auto" align="center">
            </iframe>-->

            
            <!-- FIM ${param.paginaDoMeio}-->
        
         </td>

         <td width="12%" bgcolor="#FFF0CD" style="border-left-style: solid; border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" valign="top">
			<div align="center">
				<table border="0" cellspacing="0" width="100%" height="100%" bgcolor="#FFF0CD" id="table4" cellpadding="0">
					<tr>
						<td class="menu_centro">Links</td>
					</tr>
					<tr>
						<td class="menu_centro">
						&nbsp;</td>
					</tr>
					<tr>
						<td class="menu_centro">
                  <a href="http://www.ufcg.edu.br" target="_blank">
                     <img border="0" src="imagens/logo_ufcg_amarelo.gif" width="80" height="80">
                  </a></td>
					</tr>
					<tr>
						<td class="principal_centro">UFCG</td>
					</tr>
					<tr>
						<td class="menu_centro">
                  <a href="http://www.dsc.ufcg.edu.br" target="_blank">
                     <img border="0" src="imagens/logo_dsc_amarelo.gif" width="80" height="80">
                  </a></td>
					</tr>
					<tr>
						<td class="principal_centro">DSC</td>
					</tr>
					<tr>
						<td class="menu_centro">
                  <a href="http://www.ccc.ufcg.edu.br" target="_blank">
                     <img border="0" src="imagens/logo_ccc_amarelo.gif" width="80" height="80">
                  </a></td>

                  </td>
					</tr>
					<tr>
						<td class="principal_centro">CCC</td>
					</tr>
				</table>				
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
         </div>
			</td>

		</tr>
      <tr>
			<td width="100%" colspan="3" bgcolor="#c0c0c0">
			&nbsp;</td>
		</tr>

	</table>
</div>

</body>

</html:html>